export interface ICostContext
{

}
export abstract class roomCostStrategy
{
    abstract getCost(roomName:string):CostMatrix;
}

export const strcuture_radio = 128/300000000;
export abstract class BaseCostStrategy
{

    public abstract  UpdateCost(cost:CostMatrix,context:ICostContext):void;

    protected setcost(cost:CostMatrix,x:number,y:number,val:number)
    {
        if(cost.get(x,y))
        {
            return;
        }
        cost.set(x,y,val);
    }
}
